<?php

    /**
     * ArrayBeanFactory 
     * 
     * @uses AbstractBeanFactory
     * @package plugins.sfIocPlugin
     * @version $id$
     * @copyright 2008
     * @author Marcin Nowak <marcin.j.nowak@gmail.com> 
     * @license LGPL
     */
    class ArrayBeanFactory extends AbstractBeanFactory
    {
        public function __construct(array $bean_definitions, IBeanFactory $parentFactory = null)
        {
            $this->beans = $bean_definitions;
            $this->parent_bean_factory = $parentFactory;
        }
    }
